#ifndef REGISTERWIN_H
#define REGISTERWIN_H

#include "facemanage.h"

#include <QWidget>
#include <QSqlTableModel>
#include <opencv.hpp>
namespace Ui {
class registerWin;
}

class registerWin : public QWidget
{
    Q_OBJECT

public:
    explicit registerWin(QWidget *parent = nullptr);
    ~registerWin();
    void timerEvent(QTimerEvent *e);
private:

    int timeid;
    QSqlTableModel * sqlmodel;
    Ui::registerWin *ui;
    cv::VideoCapture cap;
    cv::Mat capterSave;
private slots:
    void on_clear_click();

    void on_openCap_clicked();
    void on_selectFile_clicked();
    void on_capter_clicked();
    void on_bto_register_clicked();
};

#endif // REGISTERWIN_H
